@echo off

echo Create Update

echo It does not work!
rem call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"

set msbuild="c:\windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe"
set nsis="C:\Program Files (x86)\NSIS\makensis.exe"

set configuration=Release


echo Building p301 ...
%msbuild% /nologo /target:Rebuild /verbosity:quiet /p:Configuration=%configuration% %2 "App\p301.csproj"
echo Done p301

echo Start Nsis ...
%nsis% /V1 "App\Setup\Update\Update.nsi"
echo Done nsis
pause
